package com.zktr.pojo;

import java.math.BigDecimal;

public class Goods {
	private int goodsid;
	private int catid;
	private String goodssn;
	private String goodsname;
	private int brandid;
	private int goodsnumber;
	private BigDecimal marketprice;
	private	int warnnumber;
	private String keywords;
	private String goodsbrief;
	private String goodsdesc;
	private String goodsimg;
	private int integral;
	private int addtime;
	private boolean isdelete;
	private boolean isnew;
	private boolean ishot;
	private int typeid;
	private int giveintegral;
	public int getGoodsid() {
		return goodsid;
	}
	public void setGoodsid(int goodsid) {
		this.goodsid = goodsid;
	}
	public int getCatid() {
		return catid;
	}
	public void setCatid(int catid) {
		this.catid = catid;
	}
	public String getGoodssn() {
		return goodssn;
	}
	public void setGoodssn(String goodssn) {
		this.goodssn = goodssn;
	}
	public String getGoodsname() {
		return goodsname;
	}
	public void setGoodsname(String goodsname) {
		this.goodsname = goodsname;
	}
	public int getBrandid() {
		return brandid;
	}
	public void setBrandid(int brandid) {
		this.brandid = brandid;
	}
	public int getGoodsnumber() {
		return goodsnumber;
	}
	public void setGoodsnumber(int goodsnumber) {
		this.goodsnumber = goodsnumber;
	}
	public BigDecimal getMarketprice() {
		return marketprice;
	}
	public void setMarketprice(BigDecimal marketprice) {
		this.marketprice = marketprice;
	}
	public int getWarnnumber() {
		return warnnumber;
	}
	public void setWarnnumber(int warnnumber) {
		this.warnnumber = warnnumber;
	}
	public String getKeywords() {
		return keywords;
	}
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
	public String getGoodsbrief() {
		return goodsbrief;
	}
	public void setGoodsbrief(String goodsbrief) {
		this.goodsbrief = goodsbrief;
	}
	public String getGoodsdesc() {
		return goodsdesc;
	}
	public void setGoodsdesc(String goodsdesc) {
		this.goodsdesc = goodsdesc;
	}
	public String getGoodsimg() {
		return goodsimg;
	}
	public void setGoodsimg(String goodsimg) {
		this.goodsimg = goodsimg;
	}
	public int getIntegral() {
		return integral;
	}
	public void setIntegral(int integral) {
		this.integral = integral;
	}
	public int getAddtime() {
		return addtime;
	}
	public void setAddtime(int addtime) {
		this.addtime = addtime;
	}
	public boolean isIsdelete() {
		return isdelete;
	}
	public void setIsdelete(boolean isdelete) {
		this.isdelete = isdelete;
	}
	public boolean isIsnew() {
		return isnew;
	}
	public void setIsnew(boolean isnew) {
		this.isnew = isnew;
	}
	public boolean isIshot() {
		return ishot;
	}
	public void setIshot(boolean ishot) {
		this.ishot = ishot;
	}
	public int getTypeid() {
		return typeid;
	}
	public void setTypeid(int typeid) {
		this.typeid = typeid;
	}
	public int getGiveintegral() {
		return giveintegral;
	}
	public void setGiveintegral(int giveintegral) {
		this.giveintegral = giveintegral;
	}
	public Goods(int goodsid) {
		this.goodsid=goodsid;
	}
	public Goods(int goodsid, int catid, String goodssn, String goodsname, int brandid, int goodsnumber,
			BigDecimal marketprice, int warnnumber, String keywords, String goodsbrief, String goodsdesc,
			String goodsimg, int integral, int addtime, boolean isdelete, boolean isnew, boolean ishot, int typeid,
			int giveintegral) {
		super();
		this.goodsid = goodsid;
		this.catid = catid;
		this.goodssn = goodssn;
		this.goodsname = goodsname;
		this.brandid = brandid;
		this.goodsnumber = goodsnumber;
		this.marketprice = marketprice;
		this.warnnumber = warnnumber;
		this.keywords = keywords;
		this.goodsbrief = goodsbrief;
		this.goodsdesc = goodsdesc;
		this.goodsimg = goodsimg;
		this.integral = integral;
		this.addtime = addtime;
		this.isdelete = isdelete;
		this.isnew = isnew;
		this.ishot = ishot;
		this.typeid = typeid;
		this.giveintegral = giveintegral;
	}
	@Override
	public String toString() {
		return "Goods [goodsid=" + goodsid + ", catid=" + catid + ", goodssn=" + goodssn + ", goodsname=" + goodsname
				+ ", brandid=" + brandid + ", goodsnumber=" + goodsnumber + ", marketprice=" + marketprice
				+ ", warnnumber=" + warnnumber + ", keywords=" + keywords + ", goodsbrief=" + goodsbrief
				+ ", goodsdesc=" + goodsdesc + ", goodsimg=" + goodsimg + ", integral=" + integral + ", addtime="
				+ addtime + ", isdelete=" + isdelete + ", isnew=" + isnew + ", ishot=" + ishot + ", typeid=" + typeid
				+ ", giveintegral=" + giveintegral + "]";
	}
	public Goods() {
		// TODO Auto-generated constructor stub
	}
	

}
